exports=module.exports={};

exports.parse=(args,defaults,map)=>{
    var opts={
        depth:4,
        search:true,
        hello:'world'
    };
    var tasks=[
        (arg)=>{
            if(arg.startsWith('-')){

            }
        }
    ];

    for(let arg of args){
        for(let task of tasks){
            task(arg);
        }
    }
    //console.log('opts:',opts);
    return opts;
}